<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Manage Stores</title>
<%@ include file="commonref.jsp"%>
</head>
<body>
	<%@ include file="common-links.jsp"%>
	<div id="page-root">
		<form id="store-form" method="post" action="/admin/store/save">
			<fieldset style="width: 500px;">
				<legend>Add new Store</legend>
				<div>
					<div>
						<input type="hidden" id="store-id" name="store-id" />
					</div>
					<div>
						<label>Name:</label><input name="name" id="name" type="text"
							maxlength=50 class="required" />
					</div>
					<fieldset>
						<legend>Primary Address</legend>
						<div>
							<label>Plot/House Name/Number:</label><input name="house"
								id="house" type="text" maxlength=100 class="required" />
						</div>
						<div>
							<label>Building:</label><input name="building" id="building"
								type="text" maxlength=100 class="required" />
						</div>
						<div>
							<label>Street/Main:</label><input name="street" id="street"
								type="text" maxlength=100 class="required" />
						</div>
						<div>
							<label>Locality:</label><input name="locality" id="locality"
								type="text" maxlength=100 class="required" />
						</div>
						<div>
							<label>City:</label><input name="city" id="city" type="text"
								maxlength=100 class="required" />
						</div>
					</fieldset>
					<div>
						<label>Contact Person:</label><input name="contact-person"
							id="contact-person" type="text" maxlength=100 class="required" />
					</div>
					<div>
						<label>Phone number:</label><input name="number" id="number"
							type="text" maxlength=100 class="required" />
					</div>
					<div>
						<label>Email address:</label><input name="email" id="email"
							type="text" maxlength=100 class="required" />
					</div>
					<div>
						<label>Description:</label><input name="desc" id="desc"
							type="text" maxlength=100 class="optional" />
					</div>
					<div>
						<label>TIN:</label><input name="tin" id="tin" type="text"
							maxlength=50 class="required" />
					</div>
					<div>
						<label>Tagline:</label><input name="tagline" id="tagline"
							type="text" maxlength=50 class="required" />
					</div>
					<div>
						<label>Large Logo (256x256):</label><input name="large-logo-field"
							type="file" value="Browse..." />
					</div>
					<div>
						<label>Medium Logo (128x128):</label><input
							name="medium-logo-field" type="file" value="Browse..." />
					</div>
					<div>
						<label>Small Logo (64x64):</label><input name="small-logo-field"
							type="file" value="Browse..." />
					</div>
					<div>
						<label>Tiny Logo (32x32):</label><input name="tiny-logo-field"
							type="file" value="Browse..." />
					</div>
					<div>
						<button id="reset-button" value="reset" type="reset">Reset</button>
						<button id="save-button" value="submit" type="button">Submit</button>
					</div>
				</div>
			</fieldset>
		</form>
		<table id="table-template" border=0 cellpadding="6" cellspacing="0"
			class="template">
			<tr>
				<th>Id</th>
				<th>Name</th>
				<th>Contact Person</th>
				<th>Phone</th>
				<th>Locality</th>
				<th>Action</th>
			</tr>
			<tr class="store-row hide">
				<td>1</td>
				<td>2</td>
				<td>5</td>
				<td>3</td>
				<td>4</td>
				<td><a href="#" title="edit">Edit</a> <a href="#"
					title="deactivate">Deactivate</a>
				</td>
			</tr>
		</table>
	</div>
	<script type="text/javascript" src="/content/scripts/admin/store.js">
		
	</script>
</body>
</html>